package it.eng.area118.mdocommon;

import android.net.NetworkInfo;
import it.eng.area118.mdocommon.android.network.NetworkData;
import it.eng.area118.mdocommon.android.network.NetworkListener;

/**
 * 
 * @author Luigi Bifulco
 * 
 */
public interface Network {

	public static final String NETWORK_SERVICE = "it.eng.area118.mdocommon.Network";

	public void init();

	public NetworkData<?> getNetworkData();

	public void destroy();

	public void addConnectionChangedListener(NetworkListener listener);

	public void updateNetworkData(NetworkData<?> newNetworkData);

}
